package com.naiterui.ehp.bs.emr.vo.openapi;

import java.util.List;

import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

/**
 * 对外问诊详情处方VO
 *
 * @author guoyongxiang
 * @version 1.0.0
 * @date 2021/7/7 11:51
 **/
@Builder
@Data
public class ConsultRecordPrVO {

    @ApiModelProperty(value = "处方编号")
    private String serialNumber;

    @ApiModelProperty(value = "临床诊断")
    private String diagnosis;

    @ApiModelProperty(value = "药品明细")
    private List<Item> items;

    @Builder
    @Data
    public static class Item {

        @ApiModelProperty(value = "药品名称")
        private String name;

        @ApiModelProperty(value = "数量")
        private Integer quantity;

        @ApiModelProperty(value = "用法用量")
        private String usages;
    }
}
